﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DatabaseHelper
{
 public   class WebConfig
    {
     public static string Getconnection()
     {
         return System.Configuration.ConfigurationManager.ConnectionStrings["DBConnectionString"].ConnectionString;
         //   return ConfigurationManager.AppSettings("DBConnectionString");
     }

     public static string GetProcessMode()
     {
         return System.Configuration.ConfigurationManager.AppSettings["ProcessMode"];
     }
    }
}
